package com.xd.springcloud.service;

import org.springframework.stereotype.Component;


/**
 * @ClassName: PaymentFallbackService
 * @Description:
 * @Author: xiedong
 * @Date: 2020/3/24 22:21
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----PaymentFallbackService fall back-paymentInfo_OK,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "----PaymentFallbackService fall back-paymentInfo_TimeOut,o(╥﹏╥)o";
    }
}
